From e30a1abc93a1e03f71c5e88ac4a27de900150ba3 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Thu, 9 Mar 2006 11:17:29 +0100 Subject: [PATCH] According to the April 2005 Intel Virtualization Technology Specification (Appendix A1) indicates that there are 44 potential exit reason codes. Based upon this, increase the size of the PERFCOUNTER_ARRAY for vmexits. Signed-off-by: Ben Thomas (bthomas@virtualiron.com) --- xen/include/xen/perfc_defn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/include/xen/perfc_defn.h b/xen/include/xen/perfc_defn.h index 7feb1aba52..f2cf7b3388 100644 --- a/xen/include/xen/perfc_defn.h +++ b/xen/include/xen/perfc_defn.h @@ -26,7 +26,7 @@ PERFCOUNTER_ARRAY(snapshot_copies, "entries copied per snapshot", PERFCOUNTER_ARRAY(hypercalls, "hypercalls", NR_hypercalls) PERFCOUNTER_ARRAY(exceptions, "exceptions", 32) -#define VMX_PERF_EXIT_REASON_SIZE 37 +#define VMX_PERF_EXIT_REASON_SIZE 44 #define VMX_PERF_VECTOR_SIZE 0x20 PERFCOUNTER_ARRAY(vmexits, "vmexits", VMX_PERF_EXIT_REASON_SIZE) PERFCOUNTER_ARRAY(cause_vector, "cause vector", VMX_PERF_VECTOR_SIZE) -- 2.30.2